<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
</head>
<body>
  <script>
    $.ajax({
      url: 'http://172.20.4.54:8012/minprogcode/MinProgCode/GetMinProgCode/252840',
      type: 'GET',
      dataType: 'json',
    })
    .done(function(res) {
      console.log(res)
      console.log("success");
    })
    .fail(function(err) {
      console.log(err)
      console.log("error");
    })
    .always(function(par) {
      console.log(par)
      console.log("complete");
    });
    
    </script>
</body>
</html>